#include "FrakOutCurrentVersion.h"
#include "FrakOutVersion.h"

FrakOutCurrentVersion::FrakOutCurrentVersion()
    : m_current(FrakOutVersion::V1_0_0())
{
}

FrakOutCurrentVersion* FrakOutCurrentVersion::instance()
{
    static FrakOutCurrentVersion currentVersion;
    return &currentVersion;
}

void FrakOutCurrentVersion::setVersion(const FrakOutVersion* const version)
{
    m_current = version;
}

const FrakOutVersion* const FrakOutCurrentVersion::version() const
{
    return m_current;
}
